home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMXULControlElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  4KB  |  124 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMXULControlElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMXULControlElement_h__
  6. #define __gen_nsIDOMXULControlElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMElement_h__
  10. #include "nsIDOMElement.h"
  11. #endif
  12.  
  13. #ifndef __gen_nsIDOMXULElement_h__
  14. #include "nsIDOMXULElement.h"
  15. #endif
  16.  
  17. /* For IDL files that don't want to include root IDL files. */
  18. #ifndef NS_NO_VTABLE
  19. #define NS_NO_VTABLE
  20. #endif
  21. class nsIControllers; /* forward declaration */
  22.  
  23.  
  24. /* starting interface:    nsIDOMXULControlElement */
  25. #define NS_IDOMXULCONTROLELEMENT_IID_STR "007b8358-1dd2-11b2-8924-d209efc3f124"
  26.  
  27. #define NS_IDOMXULCONTROLELEMENT_IID \
  28.   {0x007b8358, 0x1dd2, 0x11b2, \
  29.     { 0x89, 0x24, 0xd2, 0x09, 0xef, 0xc3, 0xf1, 0x24 }}
  30.  
  31. class NS_NO_VTABLE nsIDOMXULControlElement : public nsIDOMXULElement {
  32.  public: 
  33.  
  34.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMXULCONTROLELEMENT_IID)
  35.  
  36.   /* attribute boolean disabled; */
  37.   NS_IMETHOD GetDisabled(PRBool *aDisabled) = 0;
  38.   NS_IMETHOD SetDisabled(PRBool aDisabled) = 0;
  39.  
  40.   /* attribute long tabIndex; */
  41.   NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) = 0;
  42.   NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) = 0;
  43.  
  44. };
  45.  
  46. /* Use this macro when declaring classes that implement this interface. */
  47. #define NS_DECL_NSIDOMXULCONTROLELEMENT \
  48.   NS_IMETHOD GetDisabled(PRBool *aDisabled); \
  49.   NS_IMETHOD SetDisabled(PRBool aDisabled); \
  50.   NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex); \
  51.   NS_IMETHOD SetTabIndex(PRInt32 aTabIndex); 
  52.  
  53. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  54. #define NS_FORWARD_NSIDOMXULCONTROLELEMENT(_to) \
  55.   NS_IMETHOD GetDisabled(PRBool *aDisabled) { return _to GetDisabled(aDisabled); } \
  56.   NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to SetDisabled(aDisabled); } \
  57.   NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) { return _to GetTabIndex(aTabIndex); } \
  58.   NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return _to SetTabIndex(aTabIndex); } 
  59.  
  60. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  61. #define NS_FORWARD_SAFE_NSIDOMXULCONTROLELEMENT(_to) \
  62.   NS_IMETHOD GetDisabled(PRBool *aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
  63.   NS_IMETHOD SetDisabled(PRBool aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
  64.   NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTabIndex(aTabIndex); } \
  65.   NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTabIndex(aTabIndex); } 
  66.  
  67. #if 0
  68. /* Use the code below as a template for the implementation class for this interface. */
  69.  
  70. /* Header file */
  71. class nsDOMXULControlElement : public nsIDOMXULControlElement
  72. {
  73. public:
  74.   NS_DECL_ISUPPORTS
  75.   NS_DECL_NSIDOMXULCONTROLELEMENT
  76.  
  77.   nsDOMXULControlElement();
  78.  
  79. private:
  80.   ~nsDOMXULControlElement();
  81.  
  82. protected:
  83.   /* additional members */
  84. };
  85.  
  86. /* Implementation file */
  87. NS_IMPL_ISUPPORTS1(nsDOMXULControlElement, nsIDOMXULControlElement)
  88.  
  89. nsDOMXULControlElement::nsDOMXULControlElement()
  90. {
  91.   /* member initializers and constructor code */
  92. }
  93.  
  94. nsDOMXULControlElement::~nsDOMXULControlElement()
  95. {
  96.   /* destructor code */
  97. }
  98.  
  99. /* attribute boolean disabled; */
  100. NS_IMETHODIMP nsDOMXULControlElement::GetDisabled(PRBool *aDisabled)
  101. {
  102.     return NS_ERROR_NOT_IMPLEMENTED;
  103. }
  104. NS_IMETHODIMP nsDOMXULControlElement::SetDisabled(PRBool aDisabled)
  105. {
  106.     return NS_ERROR_NOT_IMPLEMENTED;
  107. }
  108.  
  109. /* attribute long tabIndex; */
  110. NS_IMETHODIMP nsDOMXULControlElement::GetTabIndex(PRInt32 *aTabIndex)
  111. {
  112.     return NS_ERROR_NOT_IMPLEMENTED;
  113. }
  114. NS_IMETHODIMP nsDOMXULControlElement::SetTabIndex(PRInt32 aTabIndex)
  115. {
  116.     return NS_ERROR_NOT_IMPLEMENTED;
  117. }
  118.  
  119. /* End of implementation class template. */
  120. #endif
  121.  
  122.  
  123. #endif /* __gen_nsIDOMXULControlElement_h__ */
  124.